
var IBillStatus = new Object;
IBillStatus.DJZT_TempSaved = 0;  //单据状态——暂存
IBillStatus.DJZT_Saved = 1;	//单据状态——保存
IBillStatus.DJZT_Verified = 2;//单据状态——审核 
IBillStatus.DJZT_Sign = 3;	//单据状态——签字

IBillStatus.COMMIT = -1;//审批状态——初始状态
IBillStatus.CHECKGOING = 0;//审批状态——审批中
IBillStatus.CHECKPASS = 1;//审批状态——审批通过
IBillStatus.NOPASS = 2;//审批状态——审批未通过
IBillStatus.REJECT = 3;//审批状态——审批驳回

var IBillStatusName = new Object;
IBillStatusName.NOPASS = "NOPASS";
IBillStatusName.CHECKPASS = "CHECKPASS";
IBillStatusName.CHECKGOING = "CHECKGOING";
IBillStatusName.COMMIT = "COMMIT";
IBillStatusName.DELETE = "DELETE";
IBillStatusName.CX = "CX";
IBillStatusName.ENDED = "ENDED";
IBillStatusName.FREEZE = "FREEZE";
IBillStatusName.FREE = "FREE";
IBillStatusName.ALL = "ALL"; 

/**
 * 前台常量类，对应后台WebbxConstant.java 
 */
var WebbxConstant = new Object;
/*报销单dataset*/
WebbxConstant.BX_BXZB = "bx_bxzb";
WebbxConstant.BX_ITEMS = "bx_jkbxitems";
WebbxConstant.BX_CONTRAST = "bx_contrast";

/*借款单dataset*/
WebbxConstant.JK_JKZB = "jk_jkzb";
WebbxConstant.JK_ITEMS = "jk_items";
WebbxConstant.JK_CONTRAST = "jk_bxcontrast";

/*还款单类型参数*/
WebbxConstant.BX_HK_PARAM = "type";

/*借款报销JSON服务接口*/
WebbxConstant.JSON_SERVICE = "webbx_common_service";

/*单据类型*/
WebbxConstant.DJLX_BX = "bx";
WebbxConstant.DJLX_JK = "jk";

//常用单据
WebbxConstant.CYDJ = "cydj"; 
//集团本位币
WebbxConstant.JTBWB = "jtbwb";
//单据类型
WebbxConstant.DJLXBM = "djlxbm";
//集团本位币对应的精度
WebbxConstant.JTBWB_PRECISION = "jtbwb_precision";
//币种编码和精度
WebbxConstant.BZBM_PRECISION = "bzbm_precision_key";
//本币汇率的精度
WebbxConstant.BBHL_PRECISION = "bbhl_precision_key";
//表头关联报销标准的字段
WebbxConstant.HEAD_REIM_FIELD = "head_reim_field";
//表体关联报销标准的字段
WebbxConstant.BODY_REIM_FIELD = "body_reim_field";


